@extends('layouts.default')
@section('content') 
<div class="box">
    <header>
        <div class="icons">
            <i class="fa fa-table"></i>
        </div>
        <h5>{{ Lang::get('messages.online_logs') }}</h5>
    </header>
    <table id="dataTable" class="table table-bordered table-condensed table-hover table-striped">
        <thead>
            <tr>
                <th>{{Lang::get('messages.logDate')}}</th>
                <th>{{Lang::get('messages.customer')}}</th>
                <th>{{Lang::get('messages.make')}}</th> 
                <th>{{Lang::get('messages.model')}}</th>
                <th>{{Lang::get('messages.ipAddress')}}</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($online_logs as $o)
            <tr>    
                <td>{{ $o->logDate}}</td>
                <td>{{ $o->cusFirstName .' '.$o->cusLastName }}</td>
                <td>{{ $o->Make}}</td>
                <td>{{ $o->Model}}</td>
                <td>{{ $o->ipAddress}}</td>
            </tr>
            @endforeach
        </tbody>
    </table>
</div> 
@stop
